
/**
 * 
 * This class contains the attack and defense strength needed to defeat an opponent.
 *
 */
public class Opponent extends BaphiListItem {

	private int attackStrength;
	private int defenseStrength;

	/**
	 * This class contains the attack and defense strength needed to defeat an opponent.
	 * @param name
	 * @param attackStrength
	 * @param defenseStrength
	 */
	public Opponent(String name, int attackStrength, int defenseStrength)
	{
		this.name = name;
		this.attackStrength = attackStrength;
		this.defenseStrength = defenseStrength;
	}
	
	/**
	 * 
	 * @return attack value
	 */
	public int getAttack()
	{
		return attackStrength;
	}
	
	/**
	 * 
	 * @return defense value
	 */
	public int getDefense()
	{
		return defenseStrength;
	}
}
